package com.example.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.utils.R;
import com.example.system.entity.Article;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王鹤蒲
 * @since 2023-08-29
 */
public interface IArticleService extends IService<Article> {

    public R saveArticle(Article article);

    public R updateArticle(Integer id,Article article);

    public R selectAll(String title, int currentPage, int pageSize);

    public R queryArticleDetail(Integer id);
    public R deleteById(Integer id);

    public R deleteByIds(Integer[] ids);

}
